<div id="blog_<%= @article.id%>" class="blogitem">
    <div class="blogitem_header">
        <div class="postdate">
            <ul>
                <li class="yearmonth">
                    <%=@article.published_at.strftime('%Y-%m') %>
                </li>
                <li class="day">
                    <%=@article.published_at.strftime('%d') %>
                </li>
            </ul>
        </div>
        <div class="title">
            <h2><%=link_to h(@article.title), :controller => 'articles', :action => 'show', :id => @article %></h2>
            <div class="alt_info">
                Posted by&nbsp;&nbsp;<%=link_to @article.user.name.first, :controller => 'users', :action => 'articles', :id=>@article.user %>&nbsp;&nbsp;on&nbsp;<%=@article.published_at.strftime("%Y-%m-%d %H:%M:%S") %>&nbsp;|&nbsp;<%="#{@article.comments.count} Comments" %>
            </div>
        </div>
    </div>
    <div class="content">
        <p>
            <%=@article.content %>
        </p>
    </div>
    <div class="alt_info">
        Tags: <% @article.tags.each do |tag| %>
        <%=link_to tag.display_name, :action => 'tag', :tagname => tag.name %><%= ',' unless tag == @article.tags.last %>
        <%end%>
    </div>
</div>
<!-- /blog_<%= @article.id%> -->
